using System;

namespace ContinualFlame.Ajax
{	
	// object representing transient events (broadcast-once, no synchronization on reconnect)
	public class SynchronizedStream : SynchronizedObject
	{		
		public SynchronizedStream(string name) :
			base(name)
		{
		}
		
		public void Send(Message m)
		{
            m.Source = this.Name;
			Owner.Deliver(this, m);
		}
	}
}
